Fix failing test, properly throw errors on invalid code. Closes gh-15.
Release 1.7.4.