RPBI: change n_perm in Oasis example to speed it up.
RPBI: Fix tests.