added a test: test_selectMaxGuiAccess().