fixed test compilation issues