added test specs
added dbsize and tests