fix tests, some licenses applied