Fix the reference error in the front end unit tests.

@jrgm - could you review this?

fixes #3032