Add a test for a custom rand provider