#1426 Switch to testNG. Add documentation and apache license