Database tests for delete as well, clearObjectsOfType failing