adds unit test for #604
adds unit test for #604

mbroadst/rethinkdb,RubenKelevra/rethinkdb,spblightadv/rethinkdb,sebadiaz/rethinkdb,KSanthanam/rethinkdb,ayumilong/rethinkdb,RubenKelevra/rethinkdb,gdi2290/rethinkdb,niieani/rethinkdb,catroot/rethinkdb,grandquista/rethinkdb,matthaywardwebdesign/rethinkdb,4talesa/rethinkdb,sontek/rethinkdb,yakovenkodenis/rethinkdb,JackieXie168/rethinkdb,elkingtonmcb/rethinkdb,catroot/rethinkdb,ajose01/rethinkdb,wkennington/rethinkdb,Qinusty/rethinkdb,pap/rethinkdb,bpradipt/rethinkdb,dparnell/rethinkdb,rrampage/rethinkdb,sbusso/rethinkdb,KSanthanam/rethinkdb,Wilbeibi/rethinkdb,urandu/rethinkdb,losywee/rethinkdb,jesseditson/rethinkdb,elkingtonmcb/rethinkdb,sbusso/rethinkdb,gavioto/rethinkdb,sontek/rethinkdb,sontek/rethinkdb,bchavez/rethinkdb,AntouanK/rethinkdb,wujf/rethinkdb,JackieXie168/rethinkdb,sbusso/rethinkdb,wkennington/rethinkdb,yaolinz/rethinkdb,rrampage/rethinkdb,sbusso/rethinkdb,tempbottle/rethinkdb,scripni/rethinkdb,4talesa/rethinkdb,elkingtonmcb/rethinkdb,sebadiaz/rethinkdb,bchavez/rethinkdb,ajose01/rethinkdb,wujf/rethinkdb,catroot/rethinkdb,yakovenkodenis/rethinkdb,wojons/rethinkdb,yaolinz/rethinkdb,alash3al/rethinkdb,mbroadst/rethinkdb,yaolinz/rethinkdb,AntouanK/rethinkdb,dparnell/rethinkdb,lenstr/rethinkdb,eliangidoni/rethinkdb,scripni/rethinkdb,AntouanK/rethinkdb,scripni/rethinkdb,4talesa/rethinkdb,KSanthanam/rethinkdb,victorbriz/rethinkdb,bpradipt/rethinkdb,gavioto/rethinkdb,mcanthony/rethinkdb,dparnell/rethinkdb,marshall007/rethinkdb,alash3al/rethinkdb,victorbriz/rethinkdb,mcanthony/rethinkdb,4talesa/rethinkdb,victorbriz/rethinkdb,bpradipt/rethinkdb,scripni/rethinkdb,victorbriz/rethinkdb,captainpete/rethinkdb,losywee/rethinkdb,gavioto/rethinkdb,wkennington/rethinkdb,Wilbeibi/rethinkdb,mquandalle/rethinkdb,spblightadv/rethinkdb,lenstr/rethinkdb,catroot/rethinkdb,yakovenkodenis/rethinkdb,ajose01/rethinkdb,matthaywardwebdesign/rethinkdb,sbusso/rethinkdb,grandquista/rethinkdb,wkennington/rethinkdb,wkennington/rethinkdb,yaolinz/rethinkdb,gavioto/rethinkdb,wojons/rethinkdb,grandquista/rethinkdb,gavioto/rethinkdb,urandu/rethinkdb,sbusso/rethinkdb,urandu/rethinkdb,lenstr/rethinkdb,tempbottle/rethinkdb,wujf/rethinkdb,ayumilong/rethinkdb,mbroadst/rethinkdb,grandquista/rethinkdb,marshall007/rethinkdb,greyhwndz/rethinkdb,bpradipt/rethinkdb,bpradipt/rethinkdb,mbroadst/rethinkdb,catroot/rethinkdb,AntouanK/rethinkdb,tempbottle/rethinkdb,KSanthanam/rethinkdb,eliangidoni/rethinkdb,sebadiaz/rethinkdb,robertjpayne/rethinkdb,wojons/rethinkdb,ayumilong/rethinkdb,yaolinz/rethinkdb,marshall007/rethinkdb,wkennington/rethinkdb,gdi2290/rethinkdb,sebadiaz/rethinkdb,rrampage/rethinkdb,marshall007/rethinkdb,gdi2290/rethinkdb,mcanthony/rethinkdb,dparnell/rethinkdb,wojons/rethinkdb,eliangidoni/rethinkdb,urandu/rethinkdb,losywee/rethinkdb,RubenKelevra/rethinkdb,robertjpayne/rethinkdb,eliangidoni/rethinkdb,scripni/rethinkdb,AntouanK/rethinkdb,greyhwndz/rethinkdb,Qinusty/rethinkdb,elkingtonmcb/rethinkdb,wujf/rethinkdb,JackieXie168/rethinkdb,JackieXie168/rethinkdb,wojons/rethinkdb,gdi2290/rethinkdb,tempbottle/rethinkdb,eliangidoni/rethinkdb,eliangidoni/rethinkdb,marshall007/rethinkdb,mbroadst/rethinkdb,lenstr/rethinkdb,yakovenkodenis/rethinkdb,pap/rethinkdb,Wilbeibi/rethinkdb,losywee/rethinkdb,bchavez/rethinkdb,victorbriz/rethinkdb,greyhwndz/rethinkdb,ajose01/rethinkdb,ayumilong/rethinkdb,jesseditson/rethinkdb,rrampage/rethinkdb,sbusso/rethinkdb,scripni/rethinkdb,jesseditson/rethinkdb,spblightadv/rethinkdb,niieani/rethinkdb,sontek/rethinkdb,Qinusty/rethinkdb,sebadiaz/rethinkdb,gdi2290/rethinkdb,matthaywardwebdesign/rethinkdb,robertjpayne/rethinkdb,elkingtonmcb/rethinkdb,matthaywardwebdesign/rethinkdb,matthaywardwebdesign/rethinkdb,4talesa/rethinkdb,scripni/rethinkdb,wojons/rethinkdb,greyhwndz/rethinkdb,ajose01/rethinkdb,jesseditson/rethinkdb,mcanthony/rethinkdb,gdi2290/rethinkdb,Qinusty/rethinkdb,gavioto/rethinkdb,wkennington/rethinkdb,alash3al/rethinkdb,yaolinz/rethinkdb,alash3al/rethinkdb,spblightadv/rethinkdb,eliangidoni/rethinkdb,mquandalle/rethinkdb,sontek/rethinkdb,robertjpayne/rethinkdb,KSanthanam/rethinkdb,mquandalle/rethinkdb,jesseditson/rethinkdb,yaolinz/rethinkdb,captainpete/rethinkdb,ajose01/rethinkdb,losywee/rethinkdb,4talesa/rethinkdb,AntouanK/rethinkdb,victorbriz/rethinkdb,losywee/rethinkdb,pap/rethinkdb,JackieXie168/rethinkdb,mbroadst/rethinkdb,spblightadv/rethinkdb,Wilbeibi/rethinkdb,Qinusty/rethinkdb,matthaywardwebdesign/rethinkdb,mquandalle/rethinkdb,ayumilong/rethinkdb,RubenKelevra/rethinkdb,JackieXie168/rethinkdb,bpradipt/rethinkdb,captainpete/rethinkdb,niieani/rethinkdb,Wilbeibi/rethinkdb,AntouanK/rethinkdb,mcanthony/rethinkdb,victorbriz/rethinkdb,eliangidoni/rethinkdb,bchavez/rethinkdb,mcanthony/rethinkdb,sebadiaz/rethinkdb,robertjpayne/rethinkdb,mquandalle/rethinkdb,yaolinz/rethinkdb,catroot/rethinkdb,wkennington/rethinkdb,bpradipt/rethinkdb,captainpete/rethinkdb,grandquista/rethinkdb,jesseditson/rethinkdb,bchavez/rethinkdb,urandu/rethinkdb,captainpete/rethinkdb,grandquista/rethinkdb,jmptrader/rethinkdb,jmptrader/rethinkdb,bchavez/rethinkdb,tempbottle/rethinkdb,marshall007/rethinkdb,JackieXie168/rethinkdb,ajose01/rethinkdb,rrampage/rethinkdb,dparnell/rethinkdb,robertjpayne/rethinkdb,rrampage/rethinkdb,niieani/rethinkdb,mcanthony/rethinkdb,lenstr/rethinkdb,JackieXie168/rethinkdb,grandquista/rethinkdb,lenstr/rethinkdb,KSanthanam/rethinkdb,rrampage/rethinkdb,sbusso/rethinkdb,alash3al/rethinkdb,jmptrader/rethinkdb,sontek/rethinkdb,captainpete/rethinkdb,KSanthanam/rethinkdb,niieani/rethinkdb,dparnell/rethinkdb,JackieXie168/rethinkdb,ajose01/rethinkdb,wojons/rethinkdb,elkingtonmcb/rethinkdb,ayumilong/rethinkdb,yakovenkodenis/rethinkdb,dparnell/rethinkdb,Wilbeibi/rethinkdb,tempbottle/rethinkdb,4talesa/rethinkdb,matthaywardwebdesign/rethinkdb,greyhwndz/rethinkdb,sebadiaz/rethinkdb,bpradipt/rethinkdb,yakovenkodenis/rethinkdb,rrampage/rethinkdb,RubenKelevra/rethinkdb,wujf/rethinkdb,ayumilong/rethinkdb,grandquista/rethinkdb,greyhwndz/rethinkdb,losywee/rethinkdb,bchavez/rethinkdb,Wilbeibi/rethinkdb,AntouanK/rethinkdb,jesseditson/rethinkdb,mcanthony/rethinkdb,spblightadv/rethinkdb,niieani/rethinkdb,robertjpayne/rethinkdb,RubenKelevra/rethinkdb,urandu/rethinkdb,elkingtonmcb/rethinkdb,jmptrader/rethinkdb,pap/rethinkdb,scripni/rethinkdb,pap/rethinkdb,captainpete/rethinkdb,eliangidoni/rethinkdb,grandquista/rethinkdb,yakovenkodenis/rethinkdb,mquandalle/rethinkdb,ayumilong/rethinkdb,matthaywardwebdesign/rethinkdb,tempbottle/rethinkdb,RubenKelevra/rethinkdb,jesseditson/rethinkdb,alash3al/rethinkdb,marshall007/rethinkdb,greyhwndz/rethinkdb,yakovenkodenis/rethinkdb,Qinusty/rethinkdb,jmptrader/rethinkdb,alash3al/rethinkdb,marshall007/rethinkdb,jmptrader/rethinkdb,robertjpayne/rethinkdb,alash3al/rethinkdb,Qinusty/rethinkdb,lenstr/rethinkdb,dparnell/rethinkdb,mbroadst/rethinkdb,gdi2290/rethinkdb,catroot/rethinkdb,pap/rethinkdb,wujf/rethinkdb,losywee/rethinkdb,victorbriz/rethinkdb,bchavez/rethinkdb,mbroadst/rethinkdb,spblightadv/rethinkdb,catroot/rethinkdb,bchavez/rethinkdb,robertjpayne/rethinkdb,lenstr/rethinkdb,niieani/rethinkdb,sebadiaz/rethinkdb,captainpete/rethinkdb,mquandalle/rethinkdb,mquandalle/rethinkdb,4talesa/rethinkdb,wujf/rethinkdb,gavioto/rethinkdb,wojons/rethinkdb,pap/rethinkdb,RubenKelevra/rethinkdb,jmptrader/rethinkdb,mbroadst/rethinkdb,Wilbeibi/rethinkdb,greyhwndz/rethinkdb,niieani/rethinkdb,sontek/rethinkdb,gavioto/rethinkdb,Qinusty/rethinkdb,spblightadv/rethinkdb,dparnell/rethinkdb,jmptrader/rethinkdb,pap/rethinkdb,urandu/rethinkdb,KSanthanam/rethinkdb,urandu/rethinkdb,elkingtonmcb/rethinkdb,bpradipt/rethinkdb,sontek/rethinkdb,tempbottle/rethinkdb,Qinusty/rethinkdb