The drive fake signal test now also computes the phases.

Removed warnings.
Some refactoring.