Fix incorrect calling of private test method