fixed license test and tailing whitespaces