regression tests working