table rotate method testing