testing loading model as instance in controller