Integrate unit tests with TestNG and update examples