test for regression in behavior of passing wrapper to Foo.view
fix wrapper regression
Merge pull request #169 from dannyroberts/wrapper

Fix regression in behavior of passing wrapper to Foo.view