update sequence parsing & unit tests