unit test compilation phase fix