Added inputoutput dim test