improve test for side switching