Added more tests, some bugs corrected, common-courses command not working.