added license file
added tests