Isn't this a red herring? An API definition is fair use under Google v. Oracle, but the test suite is definitely copyrightable code!