add test for action parser