Added unit tests to check for the FilePath behaviour.