Refactor verify course id decorator and fixed tests.

Used course_id from keyword arguments this way decorator would become independent of the order of args. Fixed tests.