Continue to improve tests. Added integration tests for newcourse controller, and found/fixed a bug. #4