move DB tests under common directory
test ranking for place class