Move join_paths tests into their own file.