test(): adds a test to check that formatting happens on invalid ruts