Test case for single-instance with `open` method in Mac