unittest for parse

unittest for parse
Merge branch 'master' of https://github.com/pnuu/trollsift
bug fixes on parse and unittest

bug fixes on parse and unittest