fixed a test which used a deprecated method
updated a test