added test for Challenge model, added Challenge model