Added support for access group

- Support for access group, issue #74 
- Updated tests