Check the test registry size during add_test()