Changed the tests for hostname plugin

Changed the tests for setting the hostname to verify that the plugin
executes and the name is truncated if the size is larger than
NETBIOS_HOST_NAME_MAX_LEN.
Merge pull request #41 from trobert2/new_tests_for_hostname_plugin

Changed the tests for hostname plugin