minor change to enable different sizes of tests sets across subjects (thanks Thomas)