Diagnosed error in test double buffering.