Add a missing definition; wrap a test in `assert`