Split LoadTest() into two functions

LoadLexTest() for lexer tests and LoadParseTest() for parser tests. The
testing.T argument was also added to fail tests on loading errors instead of
panics.