Fix license tests