add more functional test without invoking apis.