The FASAverse (via the extra ships in Stardate magazine) actually has a modular hull design specifically created for the sole purpose of testing and evaluating new systems on a real ship before the decision is made on whether they should enter regular production. This hull is the Wizard class, and Starfleet built about half a dozen of them. The ships are typically controlled remotely during test runs in the event of a major malfunction, but can also support small crews as needed.
The USS
Gandalf (NX-602) helped to test the transwarp elements that were incorporated into the Excelsior design, while the USS
Sparrowhawk (NX-605) was destroyed testing a Federation cloaking device based on captured Romulan examples.
View attachment 57033