Writing AbsolutePitchHandler tests.
Implemented PitchHandler.forbid_repetitions.