Fixed feature warning about implicit conversion in tests.