added one last test for delete and fixed DB casching error with database_cleaner