Add tests for illegal inputs, and fix exception reporting
Test parsing behaviour with an empty input

That is, it should return an empty list of expressions.
Split tests in two: literal and exceptions