refactored test for tape