check whether Apiary has been included before setting up mock adapter