Refactored the fake signal generator as a pyunit test.
More refactoring on the fake signal test file.
Fake test now working for some values.

Some others remain to be define.