Test case to validate formatting