fixed broken integration spec, removed debugging cruft