Fix duration format tests