Added database tests
Created test that are not dependent on test order.