resolved bug in redeem badges callback, fixed the test