Fix ParseType test and some log messages