testing viewmodel