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