Add generic change state test
Use gstreamer macro for the test main function
Use the ce extern category for debugging