Added tests for MapDB