Added license
Added tests