This fix migrates several docker rm tests to api tests Signed-off-by: Yong Tang <yong.tang.github@outlook.com>