more tests, bugfix in action.js