Frame::toString() with tests