Add tests for endpoint variable
Add test and implementation for endpoint administration