update test for challenge costs api.
update test and fix bug
final fix 1
update Unauthorized
Error.js