add environment testing
test environment for events.models