Add pty=True when running tests to allow ipdb work