Added license.
Added test.