Added functionality to apModelBackend to begin to allow dynamic responses and updated tests to account for updated mock functionality.