tests for actions