Refactor EDID Parser and add tests.