Update Unit Testing model

Added unit testing for controllers that excludes models in test. User
can now call onModelCall to intercept the model call and test what the
controller is passing the model on the model call.