test(builds): add test for deis pull -p
fix(tests): call defer after handling error
style(tests): typo