Add test to check for deletion of models