Fixed some errant double-slashes appearing in file paths. Added unit tests for the...