First tests of fmt()
Updated broken tests
Added tests for fmt