add test scenario for exporting posts from a given category
category information should be included before posts on export file
Merge pull request #1568 from rodrigoprimo/fix-export-posts-by-category

Fix PHP notice when calling `wp export` with --category parameter