add test to check for model in controller init