Fixed max-length self-test.