finished database tests for current functionality