Ensure spaces can be handled correctly