Tests for time domain em solvers for stability and towards passivity