Method for hidden method testing