Add more test cases to handle white spaces manipulation