Fixed unit test class access.
Moved some constant classes into features/events/api.