Update test to match new code