Tweak parse.coffee to parse a single patch file
Update tests accordingly