Tested the setup with test_parser.py and removed a variable name bug from the downsample method