added test for setting modes