Fixed Few cases running on invalid zone,domain Fixed creating client on user passed port Fixed other misc issues

Signed-off-by: jayapal <jayapal@apache.org>