renamed LOC to Preprocess and added files for tests