the vhosts dict now has hostnames as keys
added new tests for other uses of echo command