patch applied (cabal): Rearange unit tests some more add extract more tests from the other modules