added a test case for the new number format handler