Add specs (with stubs) for rand_in_range and rand_equal methods