Adding a ref to the apiary server mock