added some additional tests
added a number of end points and fixed some issues to close tickets.