Added further checks to ensure brightness is always set to 1.0f during a test'