Test thread; cmd enhancement.