added test for shift and insert