Allow PHPUnit tests to be run from any directory (relative path)
Update to dirname(__FILE__) instead of __DIR__ so we don't break PHP 5.2