adding model and controller tests