Add headers option and accompanying test

closes #7
Merge pull request #8 from ErisDS/headers

Add headers option and accompanying test