test: call function from map, not onCreate