test_patching: inline test classes
Define RUBY_PATH for tests
Simplify tests
Clean up some things in test_bucket
wip: first pass at fixing validation