update test case
add subscribe mode and optiminal accessor