add explicit license to testtrivial.py

@jaybuff adding a license to this file to make it explicit.  I am hoping to pull the file out of this project and make it a standalone project to be added to pypi.

Thanks,
-Cory