Added basic error messages. Fixed test spec for parsing constructors in patterns.