Fixed bugs with compilation of unit tests.