Add test for rebinding sequence
Add test for extra spaces