Create Bet class and its unit test.