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

#668 - Adding tests for a couple of Controllers in the sample.
This still is the same as before. `testDirectory` is not a rooted path, so it's resolved relative to $pwd which is fragile.

This should probably be:
```
Path.Combine(appEnvironment.ApplicationBasePath, websitePath, applicationWebSiteName)
```