Fix the unit test not to reomve /tmp

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