Added test for GitHub #556.