Added before hook to mocks
Merge pull request #4 from billysbilling/before-event

Added before hook to mocks