Issue #668: Sample should be covered by a basic functional test.

#668 - Adding tests for a couple of Controllers in the sample.
this doesn't address my earlier comment. `Path.GetDirectoryName(appBase)` returns a relative path not a rooted path, and so it's still dependent on `$pwd`.