refactored parsable test suite into parsing package and rewrote in monadic style