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

#668 - Adding tests for a couple of Controllers in the sample.
I'm still unhappy to see an `isSample` flag. Why not take a 'search folder' as a parameter with some constants defined in this class for 'samples' and 'websites'. Then you don't end up spreading paths around in tests, but still have a flexible design.