Added a regression test