Better error handling and messages in RunTests (timeout and non-existent commands)