fix deprecated test method (should -> to)