Fix test harness due to testthat misunderstanding