Added security roles and test cases.