add a unit test for inferred/implied names