tests for new role view