Adding test for getDatabaseSize