[SPARK-25167][SPARKR][TEST][MINOR] Minor fixes for R sql tests
[SPARK-25167][SPARKR][TEST][MINOR] Minor fixes for R sql tests

## What changes were proposed in this pull request?
A few SQL tests for R were failing in my development environment. In this PR, i am attempting to
address some of them.  Below are the reasons for the failure.

- The catalog api tests assumes catalog artifacts named "foo" to be non existent. I think name such as foo and bar are common and i use it frequently. I have changed it to a string that i hope is less likely to collide.
- One test assumes that we only have one database in the system. I had more than one and it caused the test to fail. I have changed that check.
- One more test which compares two timestamp values fail - i am debugging this now. I will send it as a followup - may be.

## How was this patch tested?
Its a test fix.

Closes #22161 from dilipbiswal/r-sql-test-fix1.

Authored-by: Dilip Biswal <ee7669731148a67ed053406d4e2088f2bc2c2de0@us.ibm.com>
Signed-off-by: hyukjinkwon <2680965ad5aae29275c8fb10150cb10f5554e78b@apache.org>

hvanhovell/spark,jiangxb1987/spark,BryanCutler/spark,jiangxb1987/spark,wangmiao1981/spark,chuckchen/spark,kiszk/spark,jkbradley/spark,ahnqirage/spark,hhbyyh/spark,dbtsai/spark,WeichenXu123/spark,zzcclp/spark,wangmiao1981/spark,michalsenkyr/spark,shuangshuangwang/spark,highfei2011/spark,guoxiaolongzte/spark,facaiy/spark,dongjoon-hyun/spark,JoshRosen/spark,spark-test/spark,xuanyuanking/spark,wangmiao1981/spark,nchammas/spark,zuotingbing/spark,WindCanDie/spark,zero323/spark,holdenk/spark,ptkool/spark,hhbyyh/spark,shuangshuangwang/spark,shuangshuangwang/spark,taroplus/spark,spark-test/spark,wangmiao1981/spark,kiszk/spark,zero323/spark,michalsenkyr/spark,rednaxelafx/apache-spark,zero323/spark,skonto/spark,zhouyejoe/spark,caneGuy/spark,nchammas/spark,zuotingbing/spark,darionyaphet/spark,WindCanDie/spark,srowen/spark,sahilTakiar/spark,chuckchen/spark,dbtsai/spark,zuotingbing/spark,apache/spark,bdrillard/spark,hvanhovell/spark,kevinyu98/spark,goldmedal/spark,actuaryzhang/spark,taroplus/spark,icexelloss/spark,spark-test/spark,aosagie/spark,HyukjinKwon/spark,icexelloss/spark,aosagie/spark,michalsenkyr/spark,witgo/spark,rednaxelafx/apache-spark,lvdongr/spark,rezasafi/spark,witgo/spark,dongjoon-hyun/spark,holdenk/spark,pgandhi999/spark,WindCanDie/spark,xuanyuanking/spark,yanboliang/spark,JoshRosen/spark,Aegeaner/spark,shuangshuangwang/spark,witgo/spark,shaneknapp/spark,skonto/spark,kiszk/spark,goldmedal/spark,actuaryzhang/spark,zuotingbing/spark,guoxiaolongzte/spark,yanboliang/spark,skonto/spark,jiangxb1987/spark,WeichenXu123/spark,wzhfy/spark,shuangshuangwang/spark,zzcclp/spark,rezasafi/spark,jiangxb1987/spark,mdespriee/spark,actuaryzhang/spark,mdespriee/spark,ahnqirage/spark,caneGuy/spark,ConeyLiu/spark,JoshRosen/spark,milliman/spark,apache/spark,wzhfy/spark,ptkool/spark,yanboliang/spark,ahnqirage/spark,zhouyejoe/spark,actuaryzhang/spark,darionyaphet/spark,shaneknapp/spark,guoxiaolongzte/spark,BryanCutler/spark,WindCanDie/spark,rekhajoshm/spark,jiangxb1987/spark,JoshRosen/spark,cloud-fan/spark,ptkool/spark,guoxiaolongzte/spark,sahilTakiar/spark,vinodkc/spark,zhouyejoe/spark,dbtsai/spark,zero323/spark,maropu/spark,lvdongr/spark,shaneknapp/spark,cloud-fan/spark,LantaoJin/spark,JoshRosen/spark,yanboliang/spark,BryanCutler/spark,techaddict/spark,BryanCutler/spark,actuaryzhang/spark,wangyum/spark,cloud-fan/spark,witgo/spark,hvanhovell/spark,bdrillard/spark,ptkool/spark,gengliangwang/spark,highfei2011/spark,LantaoJin/spark,aosagie/spark,Aegeaner/spark,chuckchen/spark,kevinyu98/spark,lvdongr/spark,facaiy/spark,ahnqirage/spark,michalsenkyr/spark,dongjoon-hyun/spark,Aegeaner/spark,matthewfranglen/spark,maropu/spark,WeichenXu123/spark,apache/spark,HyukjinKwon/spark,zero323/spark,witgo/spark,rekhajoshm/spark,rezasafi/spark,darionyaphet/spark,ConeyLiu/spark,mdespriee/spark,gengliangwang/spark,milliman/spark,guoxiaolongzte/spark,xuanyuanking/spark,icexelloss/spark,cloud-fan/spark,maropu/spark,hvanhovell/spark,srowen/spark,apache/spark,ueshin/apache-spark,hhbyyh/spark,apache/spark,taroplus/spark,wangyum/spark,rezasafi/spark,wangmiao1981/spark,rezasafi/spark,taroplus/spark,caneGuy/spark,dongjoon-hyun/spark,ueshin/apache-spark,hhbyyh/spark,nchammas/spark,vinodkc/spark,apache/spark,dbtsai/spark,wzhfy/spark,shaneknapp/spark,ConeyLiu/spark,rezasafi/spark,zuotingbing/spark,WeichenXu123/spark,pgandhi999/spark,jkbradley/spark,caneGuy/spark,BryanCutler/spark,kevinyu98/spark,ptkool/spark,rekhajoshm/spark,mahak/spark,milliman/spark,mdespriee/spark,highfei2011/spark,zzcclp/spark,witgo/spark,highfei2011/spark,spark-test/spark,icexelloss/spark,cloud-fan/spark,HyukjinKwon/spark,gengliangwang/spark,xuanyuanking/spark,goldmedal/spark,jkbradley/spark,milliman/spark,Aegeaner/spark,mahak/spark,rekhajoshm/spark,zhouyejoe/spark,facaiy/spark,shuangshuangwang/spark,hvanhovell/spark,gengliangwang/spark,facaiy/spark,skonto/spark,shaneknapp/spark,ueshin/apache-spark,zuotingbing/spark,shaneknapp/spark,BryanCutler/spark,ConeyLiu/spark,sahilTakiar/spark,xuanyuanking/spark,taroplus/spark,WindCanDie/spark,LantaoJin/spark,techaddict/spark,techaddict/spark,maropu/spark,pgandhi999/spark,dongjoon-hyun/spark,yanboliang/spark,zuotingbing/spark,dbtsai/spark,zzcclp/spark,icexelloss/spark,michalsenkyr/spark,LantaoJin/spark,zzcclp/spark,apache/spark,cloud-fan/spark,taroplus/spark,kiszk/spark,xuanyuanking/spark,rednaxelafx/apache-spark,srowen/spark,aosagie/spark,kevinyu98/spark,HyukjinKwon/spark,wzhfy/spark,dongjoon-hyun/spark,holdenk/spark,taroplus/spark,techaddict/spark,rekhajoshm/spark,maropu/spark,highfei2011/spark,gengliangwang/spark,bdrillard/spark,LantaoJin/spark,chuckchen/spark,witgo/spark,darionyaphet/spark,skonto/spark,JoshRosen/spark,jkbradley/spark,mahak/spark,rezasafi/spark,ptkool/spark,Aegeaner/spark,sahilTakiar/spark,maropu/spark,HyukjinKwon/spark,WeichenXu123/spark,highfei2011/spark,actuaryzhang/spark,milliman/spark,goldmedal/spark,zzcclp/spark,WeichenXu123/spark,kiszk/spark,kiszk/spark,lvdongr/spark,jkbradley/spark,gengliangwang/spark,shuangshuangwang/spark,wangyum/spark,nchammas/spark,nchammas/spark,lvdongr/spark,darionyaphet/spark,WindCanDie/spark,mdespriee/spark,skonto/spark,ptkool/spark,xuanyuanking/spark,aosagie/spark,BryanCutler/spark,highfei2011/spark,yanboliang/spark,ueshin/apache-spark,zhouyejoe/spark,hvanhovell/spark,rednaxelafx/apache-spark,spark-test/spark,techaddict/spark,gengliangwang/spark,zero323/spark,mahak/spark,sahilTakiar/spark,wzhfy/spark,srowen/spark,srowen/spark,pgandhi999/spark,shaneknapp/spark,pgandhi999/spark,HyukjinKwon/spark,holdenk/spark,zhouyejoe/spark,chuckchen/spark,mdespriee/spark,milliman/spark,michalsenkyr/spark,pgandhi999/spark,Aegeaner/spark,holdenk/spark,vinodkc/spark,sahilTakiar/spark,LantaoJin/spark,aosagie/spark,zero323/spark,goldmedal/spark,wzhfy/spark,ahnqirage/spark,wangyum/spark,actuaryzhang/spark,jkbradley/spark,mahak/spark,ahnqirage/spark,holdenk/spark,bdrillard/spark,sahilTakiar/spark,aosagie/spark,holdenk/spark,Aegeaner/spark,zhouyejoe/spark,cloud-fan/spark,wangyum/spark,rednaxelafx/apache-spark,jiangxb1987/spark,darionyaphet/spark,nchammas/spark,lvdongr/spark,vinodkc/spark,chuckchen/spark,techaddict/spark,wangmiao1981/spark,dbtsai/spark,hhbyyh/spark,goldmedal/spark,kevinyu98/spark,michalsenkyr/spark,caneGuy/spark,ahnqirage/spark,mdespriee/spark,hhbyyh/spark,jkbradley/spark,wzhfy/spark,guoxiaolongzte/spark,milliman/spark,srowen/spark,maropu/spark,bdrillard/spark,yanboliang/spark,rednaxelafx/apache-spark,icexelloss/spark,kiszk/spark,LantaoJin/spark,wangmiao1981/spark,wangyum/spark,bdrillard/spark,JoshRosen/spark,mahak/spark,rekhajoshm/spark,zzcclp/spark,WeichenXu123/spark,jiangxb1987/spark,mahak/spark,dongjoon-hyun/spark,bdrillard/spark,spark-test/spark,caneGuy/spark,ConeyLiu/spark,kevinyu98/spark,caneGuy/spark,facaiy/spark,ConeyLiu/spark,facaiy/spark,hvanhovell/spark,WindCanDie/spark,guoxiaolongzte/spark,hhbyyh/spark,rednaxelafx/apache-spark,vinodkc/spark,pgandhi999/spark,ConeyLiu/spark,ueshin/apache-spark,goldmedal/spark,spark-test/spark,dbtsai/spark,chuckchen/spark,techaddict/spark,srowen/spark,kevinyu98/spark,vinodkc/spark,darionyaphet/spark,wangyum/spark,nchammas/spark,vinodkc/spark,facaiy/spark,skonto/spark,HyukjinKwon/spark,rekhajoshm/spark,lvdongr/spark,icexelloss/spark,ueshin/apache-spark,ueshin/apache-spark