Added assert for use strict rule

False positives could be missed by the test because it uses assertContains failure