Was setting endpoint on wrong dbClient
Updated tests for setting endpoint
Changed endpoint so tests don't step on each others toes