Added test capturing the need for tempdir objects to allow path operations and return path objects.