Added code for seperately handling the Validate and Test data using the previously constructed dictionary4Rep