testcase for issue #145
Set default resolution of ${basename} to dirname of realpath of config file instead of only relative dir
Fix issue #146