Gold and silver are different weights. If you don't have a homogenous melt, then when you pour a bar the gold will tend to want to sink to the bottom of the bar, and the silver will be forced to the top. If your melt was homogenous, then you still might have some of that, but not likely.
If your bar is how you described I would guess it's because it wasn't melted properly. But I am just assuming. It also might be that there is slag associated on the top, other base metals that were not picked up by your flux, or maybe flux also.
If your button is not very big, it wouldn't take much silver to upgrade the silver content then dissolve in Nitric Acid which would leave your gold behind and you could process accordingly.
Or if you don't have the silver, since the majority is gold, you could dissolve the gold in AR, the silver would convert to AgCl or Silver Chloride, so long as you are willing to reduce the AgCl this might be a good option for you.
Why are you not trying to remove the silver instead of leaving alloyed with Au?
if you want to test for gold content you could get it scanned by XRF, make sure that the top, sides and bottom are scanned, if your melt was not homogenous, then the readings will be different. If I was going to get it scanned by XRF, I would re-melt and make sure it was homogenous.
Trying to do an acid test on anything above 22k is difficult at best. Gold of high purity tends to smear on the scratch stone and doesn't lend to being tested very easy at all.
Scott