build.xml changed and test cases added for spaces