Command line splitting

Fixed command line file splitting (there were problems at least at building chromium).
Added unit tests file to verify that command line splitting works as expected.