install test requirements for test instances and check exit code