Adds tests for openjdk-7 and oracle-7
Fix java_home for rhel and fedora