updated tests to test for right role