Added tests for the challenge model