add explicit license to testtrivial.py