groups back end functionality
api tests + fixes