new logic about random seed for test environment

Squashed commit of the following:

commit ebae34ae6cbc09c4e4855eb21e56ad4f0259a1a0
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Thu Apr 17 11:48:06 2014 +0200

    [FIX CI using click instead of hover

commit e12f026a7d97ffa3b2ebc20085fed0ec7e295198
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Wed Apr 16 16:17:14 2014 +0200

    [FIX CI] sorting contract_lines to take back

commit f44a1b06b770127e5119d46415547307d274edf4
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Wed Apr 16 15:53:26 2014 +0200

    small fix

commit b7eff3701d3c906a0c4b8dc3b768d65c3f7b9376
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Wed Apr 16 15:18:39 2014 +0200

    new logic about random seed for test environment