Added correct boundaries in relevant test