Added unit tests of custom tag groups; fixed some typo