added license, new tests