use jest to test the update function for things such as: - adding players with the same colors - illegal moves - same player playing twice in a row - players leaving that are not in the game - giving cards of negative value - anything else that you can think of