TEST: move tests for pulse() to test_pulse.py