Finished testIsLegalAction (hopefully?)