updated spec testing with stash_payload