test: refactoring in UserRestApiTest
rest: added ActivityRestApi and ActivityRestApiTest