Add test for 'ensure' block in #git_push
Refactor Parser into its own class