Add capture testing to isMoveValid