test added
Merge pull request #5 from karlhungus/test_adding_endpoint