Added license and done the last tests.