Box self-test