lexer semi hack
added sanity test
added driver module so tests can call it