improved formatter test coverage