Add mock_backend tests