Added test for adding object literals as models