Write xunit reports for acceptance tests

Refactor rake tasks for acceptance tests