Headers Method

added headers method and accompanying test