Fix test on interaction dimensions

Added the +1 in the wrong place.