Fixed several bugs. Resource 'course' now works as expected (api+test)