Add a test to verify database