Fix build error in unit test project, although the tests do not currently pass