Adding a learning test covering static and non-static class initialization in Java