Add tests for actions