Simplify InpulsesTest

Now the test reuse code from other tests and use less objects. The code
is clearer now.