Added tests for modals, fixes #26
Added tests for groups, fixes #27