Modified TestAddNewRole
Applied some refactoring to tests
Added remote and managed profile