Add working regression test