Add tests for action object