code and tests for the Accepts Coins story