updated test to new example