remove useless functional test code