fixing rake test for integrity