Updated tests to reflect the fact that source folder can be given with an ending slash.