Updated license
Added few simple tests