added -h as default cmd, updated tests