Grid domain object and tests