Added a test for interpolation in dynamic method names

Ref #654