[#13] Added some unit tests for parser overflows.
fixes #13