migrated lexer test cases to rust-0.7