ticket:4 correct deprication in test