Fix the unit test not to remove /tmp

Signed-off-by: Yohei Ueda <yohei@jp.ibm.com>