added unit test for DHTileView
updated unit tests for DBManager