Refactor Test.Parser
Add some test cases for parseBool