Adds test for afterRemove hook
Adds test for afterCreate hook