AMBARI-6082. ambari-server setup does not check that custom jdk path is jdk. Unit tests.(vbrodetskyi)