requirements-test: Move ImportError workarounds in it
Move workarounds introduced in f7b35626cb3b885c04e811a18c88797065b36d4e
and 55aa143db84a0061b412bc67baf1f7d78e6450da from requirements.txt
file to requirements-test.txt as those break debian package installation.