Fixed syntax errors in Bet class, added test harness