Added view model tests