bin/tests/rand.test: add more tests
bin/tests/rmempty.test: add more tests