fix tests for challenges APi