Removing white spaces from comparison since it is OS dependent and unimportant to the test.
Adjusting tests to use File.separator instead of "/" in the case of