cleaned up references in api tests