added tests for actions and activities