For some tests, the current user wasn't set by the time the CurrentUser variable was used in several of the models.