fixed license test and added license text where missing