changed test statement argument from "gethostname()" to "'localhost'" for demo purposes