This fix migrates session tests in integration-cli to api tests in integration. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>