Unused code in test