Added test for _in_bounds()