Cleanup loaded features and constants after dependency tests.

cc @senny
assert_not