Extract inner test classes into their own file/class. Happy to learn about JUnit's @Enclosed annotation, but I think it's better to pull these tests into separate classes in this case.