write the test cases for content controller. add the cookies field in attemt model. modified the attemt_spec model.