EndPointsImprovements

Fix up the tests and add the time routes to the datatore using a profile as parent