Removed warnings about unnecessary muts in tests