John I Dent Cup: Wests show premiership credentials with entertaining 40-31 win against Royals