Unit tests

- Added a few unit tests
- Modified Utility.mapToString to return empty string if Map argument is
empty/null