Efficient Moments-based Permutation Tests