Fixed addOptionGroup method (typo) + added tests (#85).
Released 0.7.7.