Numerical investigations of dispersive shocks and spectral analysis for linearized quantum hydrodynamics