Fieldbus testing with online physical layer diagnostics