Sam's Test Code for Adfero