Include sample in top level rake test and test_app

Fixes #4808