Removed unnecessary method in test