Fix get view model name test.