test models in memroy