Updated tests to reflect the empty string as the site root.
Check if path is an empty string, not just falsey