add integration test for controller that accepts json and creates a course