all testthat and facets bugfix

so far I have just pushed some code that reorganizes tests -- now we use testthat for all tests.

before I merge I will take a look at fixing the intreg.R facets example.