BUG: gh-2331 (Bode plot should return continuous phase)

BUG: gh-2331( Bode plot should return continuous phase  ) is solved and a test for the issue is added.