fixed bugs in poker test