Fix test
Fix deprecated syntax