Fixed warning in test compilation