Move test requirements to testenv

(Moved from buildenv)