Compilation error fixed on tests