When running ProfileTest.lua in Mock mode (ProfileTest.TEST_MOCK = true), I get this error

This only happens when testing mock functionality, so I am unsure of whether this is intentional behavior of Profile:IsActive() or not. If it is intentional, then it should be documented and the test script should accommodate for it instead of erroring.