There are a lot of other tests in this file (and, probably scattered around the codebase) that belong here. For example, the check for `srm`. We should open an issue to consolidate these checks into this function.