Learnt how to test a value in map