Fix unit tests so linking tests work w/Orient

Also remove some stray logging code and check for a formatter before
trying to render a record