Use dirname(__FILE__) for absolute paths in unit tests

Allows to run phpunit from project directory

/cc @mcspronko