Added tests for QualityStrategy