fixes to accomdate variable port name, added some tests, breaking changes upgraded to v1.0.0