Fixed various issues to make nsca and nrpe test top run successfully