Completed and refactored tests for coin acceptance