[CLEANUP] Refactor validate test to comply to Java Coding Conventions