Add regression test based on current example