Cred provision and testing fixed