[tests] adds new one for grid matching
fixes using removed headers
one less -Wundef #warning