Use mocha for testing. Implement xml generator.