Fixed provider tests

Fixed provider tests