Add test verifying that impls of ToOcamlRep for Rc and Arc work as expected