add test-level preloading stuff; add exception printing