Tests for shift