[yanqian] Fix web should depend on resource.
[yanqian] Add first test.
Merge remote-tracking branch 'origin/master'