started stats testing, fixed empty db stats bug
Finished testing stats endpoint, does not play well with showDeleted, need to make a choice of how that should be handled [Finishes #82248508]
went ahead and added showDeleted stuff into stats endpoint, remove it if you rather have stats unaffected by deletion