Refine webpack server in test task