Reduces memory used during testing