Address code review comments.

In particular, add an integration test for interpreter selection.