Made less picky about types
Updated test
Added LICENSE