add unit tests for rapp_repositories stuff