Added chord parsing and tests