Cleaned up code.
Created mock representation of a JobEvent.