Add implicitly-typed sample to tests.