added 3 simple basic tests
bug fix in connection close method
changed license template