Modify example to fit new tests