Fix test setup issue