test/rcu: add API and functional tests