Fix tests
Fix licence excludes