Here's some stuff to try on your own:
Add tests to check that a purchase fails if the player selects more or less than six numbers.
Add tests to check that the purchase fails if the player tries to buy a ticket for a negative amount.
Write a utility fixture that creates a new player and pays some initial sum of money into the account. Use this in test pages for this chapter instead of the deposit and player registration. Here is a hint:
|New Player|john|50|



