Add test page for fetion interface.
Fix the bugs with return value.