Retrofit specs for manifests
Added missing require for tempfile