test_caller_bcd: fix and refactor addg6s test loop