test case update. the first argument of callback function should be err.