Added tests for dollarsToCents() that should throw exceptions.