renamed and added test
updated license