[CLEANUP] Refactor validate test to comply to Java Standards