finished testscripts for addcredit and refund