testing formats with code