Introduce rest api resources for tests