Added test for name with spaces