move tests out of peru package

Reviewers: jacko

Reviewed By: jacko

Differential Revision: https://phabricator.buildinspace.com/D10
implement the export command

Test Plan: integration test included

Reviewers: sean

Reviewed By: sean

Differential Revision: https://phabricator.buildinspace.com/D6