Unit test to test the deletion of objects with predicate.
Added method to delete objects in a context with a predicate.
Merge branch 'feature/delete_with_predicate' into develop