Changed lambda expressions to anonym classes in InternalsTest.java