Tests for formatter