bin/tests/rmempty.test: add test case