Windows 8 compatibility: Split by \n instead of line.separator

test failed on Windows 8 with Java 7. Split on \n instead of line.separator.