add set expire mode test