Fixed spaces

Added Test case