Add testMultipleWithSameCause UnitTest

Also make tests capable of failing with timeouts. Before the constructor would immediately go into an infinite loop and hang the tests.