Connecting DUT and TB using interface without modports

In reply to Pavel:

Have you tried compiling and simulating? Did you get any errors? Did it work as expected?

Modports are considered mainly a design construct and aren’t typically used for verification.