Add a test for actions