add more tests for scan_identifier
implemented scan_string