Updated GoldMine to new interface and added tests