the whole framework for this file doesn't make sense anymore and I tried to simply fix/reduce it and failed, creating a real/relevant test should be part of a code refactor (to split the functionality from the express layer) and not part of the cleanup.