test header retrieving