Added unit tests for parsing sequential/parallel blocks, fixed
error where they were being parsed incorrectly