test for determining test set