tests: Restore test_name_methods from Jenkins test.