Fixed isssue with mongodb persistence of services with id of -1

also fixed a minor issue with a test package name