Allow explicit endpoint declaration for tests

Add in access to AWS endpoint so as to allow using DynamoDB local