Work around moq issue