Introduction - If you have any usage issues, please Google them yourself
The test_facility function uses the bit odering where the MSB is bit 0. That makes it easier to query facility bits with the bit number as documented in the Principles of Operation.