resolved circular deps for api tests

Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>