Added travis config for api unit tests with testng.