identifier-in-scope test seems to work at last