Added automatic method testing