Updated parent pom.xml to contain JRE version.
Refactored button tests.