Fix test_esd errors

Some methods became private.