Change how to test port type

* Remove shared_port_examples for easy understanding by loosing abstraction
* Run matcher test and command test at same time