TEST is working but autotest makes illegal moves