test for actions in learning