License added.
Added test.