updated tests to new Credits.add syntax