Added credit integration tests