Tennis Game Kata and better checking of 4xx status codes