Fixed a compile error in a unit test