Unittester for inference experiments