bear model, middleware test