unit tests for events
fixed action checkEventsArray bug
better action card testing
added tests for actions, none of them pass at the moment so I skip them