Add tests + generate build.xml