fixing bugs on courses/tests page