fixed test compilation errors