add unit test for course commands controller