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

#668 - Adding tests for a couple of Controllers in the sample.
I don't like the idea of having a boolean flag for the sample, currently we only have 1 sample project and 1 class that has tests for it. Unless we foresee that we are having more sample projects and more tests for the sample I would have the helper method directly on the sample tests class (this is a change for a very specific situation that affects a very general method). If you still want to keep the functionality here, I would just add a different method that specifically configures the sample services keeping the functional tests and the tests for the sample separate.