added headers checking test