Gold Testing Irregularities

Question: Why would a piece clearly marked as Gold Filled be testing as gold? Does not hold on a 14k scratch test but holds on a 10k test.