PY3 fix RBM test