Fix testing environment.