Refactoring path validator
Add tests for course_role and fix a validation.