DRY up some of the features with a spec helper