Adding events for after crud functions and tests