this would be a good test, but we would have to change the given code (add some validations or something). For now, passing in cookie = Cookie.new(10) would just return 10 when calling cookie.type