Add -ea to Rake test runs and fix some asserted paths.