Fix failing test with updated import