localhost might resolve to ipv4 and ipv6. using 127.0.0.1 instead.
move the tests for #108 to vac_register.sh