Add unit tests for QueryErrorDetectionStrategy.
Add null checking in QueryErrorDetectionStrategy.
Add the copyright header to QueryErrorDetectionStrategyTest.cs.