refactor ground model spec