add start of testing infrastructure
tweak C++ formatting
tweak how lubridate is loaded