make tests work using phpunit 4.0.* by adding timeouts and directory creation uppon setup