Fixed acceptance tests.

When building range factory.

signed-off-by: Renan Fichberg <rfichberg@gmail.com>