Changed test

Changed course factory test to reflect that the teacher was added to the
courses teacher field