changed license to the AGPLv3 (and part 2)

* updated test files headers