fix compile of unit tests