closes #238
update on upnp test code.