fix self-testing