Whitespace only changes (trim EOLs)
Added test case for http://jira.diamond.ac.uk/browse/DAWNSCI-663