TEST: removed a few unneccessary win.flip() to improve test speed.