Add an initial test for ViewModel.