added tests to the ResiserRole module