Add more db tests to check after when things have been deleted