Added processLevel parser test and did minor refactoring
Merge branch 'lee-dev' of github.com:lnewson/csprocessor into lee-dev