test formatter raising NotImplementedError