wrong method in test