Check if the license field is valid, tests