came up with way for test to change roles