fix the condition to install requirements for testing