Adds test for addMap.
Corrects type of assertion used in tests.
Merge pull request #4 from Achal-Aggarwal/unit-tests

Adds some tests.