Fixed get with only name and port, added unittest