added grid tests