added test for action