Fix test specifying location of input, baseline and temp directories

This commit allows the extension to be built and tested outside
of Slicer source tree.