test getting and setting mapped data