added license and test