start to clean up test code
refractoring test code
test code clean up
house keeping for pipe API test code
add callback for hcd when it cleaned up all cache data for a device (previously mark as removing).