TapeEquilibrium class and tests