Numerical interpretation of gas-injection tests at different scales