Fix merge unit tests under Linux