added tests for actions