test added
Merge pull request #6 from karlhungus/test_adding_endpoint