Add tests for functions over Strings