Moving spec methods up

Moving common methods up, to a shared location.