Fix the license. Add more negative test cases