Add tests for createAddonFromText/createAddonsFromText
Unify setupSpec and cleanSpec