Fixed and added various tests in ActionTests