Updated tests to test parser and lexer

Should probably have independent tests but it is only school work