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

#668 - Adding tests for a couple of Controllers in the sample.
What's the breakdown - ie: what criteria motivates what's being tested and what's not? Is this intended to be a hello-world sort of thing or more in depth?