Bug 23091: Add tests for \->credits and \->debits