with test working