Also, more specifically, this check it to ensure that middleware which has been given a value of `null` does not break registration and the expected middleware stack exists. If you look at the config there are 6 named middleware, with 2 of them `null`-ed out. That should result in a total of 6 registered middleware, which is being tested here.