Refactoring: Changed option -r and added option -R to print more info about test cases
Bugfixiong after modification in -r and -R options