BUG: correcting regression test