Add test and method for checking if user wins