Made _test_batch_size a class level property instead of a member attribute; made register_names_to_del robust to __init__ never being called.