Testing using parser/scanner