Added a new test to cover some untested functions.
Found a bug with re not being imported.