added viewmodel unittests