Make unittests compile