Updated to allow to set full path to APPPATH, COREPATH and PKGPATH on testing

In case to set full path to `<server name="core_path">` on `phpunit.xml`, test fails because `trim` function trims the first `/` of the path.

Signed-off-by: Hiroyuki Anai <pirosikick@gmail.com>