added license header
extended unit test