add a test for the rc commandline option