added test for changing pip modes