viewmodel testing