Adds regression test for bug 15300