Updated tests to pass

Updated the test to reflect the fact that the pre functions were moved
to frontend. This includes the post sanitization test.