Fix bug in map header test