This is good, but let's move these tests to mungebitsTransformations, I think the `numeric_to_factor` function lives there (it's actually a C++ function) https://github.com/robertzk/mungebitsTransformations/blob/master/src/numeric_to_factor.cpp