fixed mount bug && add tests

Signed-off-by: TZ <atian25@qq.com>