Test that illegal moves with setPosition throw exceptions.