[DVI-315] Convert testng dependency to provided

Matches other similar uses of testng dependency in main code
Checkstyle
add repository and update tools version
add root dir definition to avoid compile error