fixed deprecated tests