Instead of creating such tests for each method separately, use unittest subTest functionality to handle all of them at once.