Fixes some errors in checking the PEcAn.BIOCRO package

This should prevent the user from having issues in loading the the testthat package so long as they have it installed. additionally it addresses an error in loading the RPostgreSQL package. these packages are required for the tests to the PEcAn.BIOCRO package.