added variable card cost
test for event creation
updated mode test description
wip of action tests and expansions(almost a copy of modes.js)