test_objectDetection update for separate train and test set