Add the stub environment.
Fix the incorrect timeout.