Avoiding state tax surprises from collaboration agreements