Added unit tests to Dumper