Refine cmd script for WML unit tests

Differentiate between timeouts and real errors.