Checking for course existence in Mongo's update_item.
Update mongo counter unit test.