Bagnall: Spartan wins court approval to restructure, and a lifeline for its COVID testing tech