Add LICENSE file
Fix test case