Updated test to parse a given file