tests: implement read_only in testmap Entry