Added test for grid method on view model