As highlighted in #256, boundscheck are disabled in numba compiled functions for the sake of performance.
However, this might hide tough bugs.
It is possible to enable boundscheck globally using NUMBA_BOUNDSCHECK flag during testing to have a tighter unittests.