8062556: Add jdk tests for JDK-8058322 and JDK-8058313Summary: Add tests for two hotspot reflection fixes.Reviewed-by: dholmes