Adding tests for the Course model and corresponding routes