Add test of trajectory-based spectrum differencial