RF: make cvxopt optional for tests

Protect against errors in tests when cvxopt not installed.