Refactor of rack_spec (includes moving JSON to spec/fixtures)