test: add unit test for #1283 (#1288)
test: add unit test for #1283 (#1288)


dusty/caddy,elcore/caddy,elcore/caddy,tobya/caddy,joshix/caddy,pyed/caddy,yukimochi/caddy,captncraig/caddy,tobya/caddy,dusty/caddy,tobya/caddy,devangels/caddy,yukimochi/caddy,joshix/caddy,pyed/caddy,pyed/caddy,yukimochi/caddy,joshix/caddy,devangels/caddy,captncraig/caddy,devangels/caddy,dusty/caddy,tobya/caddy,elcore/caddy,pyed/caddy,cez81/caddy,captncraig/caddy,cez81/caddy,dusty/caddy,cez81/caddy