passing trim trailing spaces spec.