added tests for map class methods

Added unit tests for __init__, __repr__ and __str__ methods