testthat tests for transform_contingency_table.