add test for course and documents