dealing with 1 d test data properly