Finished database tests