wiring things up prepping for api tests