resource backend and tests