feat(endpoints): fixed tests and made endoint get accept relative pathing

refs #176