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

#668 - Adding tests for a couple of Controllers in the sample.
It might be better here to just have the base path passed in as a parameter rather than an `isSample` mode.