Put mocking scope as test to avoid packaging it