Add integration test for view_models