fixed the challenge id guessing problem
added some tests
removed populate demo data confusion