Added test to check are white spaces removed from name