test db range