fixed some junit problem, because license for test.