completed testing code for model,helper and controller on sprint5