def test_args(args):
    """ Ensures arguments are properly formatted.

    Inspired by `automated_scripts/cal_uvis_make_darks/cal_uvis_make_darks.py`
    by M. Bourque.

    Paramters
    ---------
    args : object
        Containing the image and destination arguments.

    Returns
    -------
    args : object
        Containing the image and destination arguments. Modified for
        proper formatting.

    """

    if args.sep_out == 0:
        args.sep_out = False
    else:
        args.sep_out = True

    return args