tests for utils/parseString