Migrate to TestNG and cleanup test dependencies