Add test case for https://github.com/jekyll/jekyll/issues/2702