added tests for all the actions