Remove the 'dependencies' sample, and associated test.

This is all covered elsewhere.
Add test directory provider to construction of these sample rules.

Missed these guys the first time around, not sure how.
Refactored the javascript in the release notes to remove some duplication.