adding licenses
(cherry picked from commit 9d10df5)
adding license to test