tests: have rma_register exit if no -s or -h

Also, remove trailing white space