Can you test for more values of `Kernel.rand` and add some tests to check the boundary conditions?