Detailed design of the large-bore 8 T superconducting magnet for the NAFASSY test facility