Remove GPL license

MIT is GPL-compatible anyway.
Add unit tests