Refactored Paid Check to Model and Added Test