Added license in test file, added badge with license in readme.