Added tests for course, bookmarks, activity, auto-gen fields

Change-Id: I31017f46cdcbff4edff4ebc0ac7db37235da4ea6