Add test for LongFormat