Fix out-of-bounds access in check test