fixes test. wrong decorator stops to work after 1.7