updated license parts, added a test ;)
cleanup