[tests] fix document plugin tests for http serve