Usergrid 165 fix exports tests

Added a fix to the existing export tests, they are all now passing. 
Instead of sleep(1000), we should call em.refreshIndex().