Improved testing function for validation of moves