FixLuminance + tests.