+ split tests and mock resource