add in fmt_test.cpp so that to test the fmt function