do not use gravatar and baidu map in test enviroment.
Merge pull request #564 from saberma/saberma-enhancement/stub-gravatar-and-baidu-map-in-test

测试环境不使用 gravatar 和 百度地图