Uncomment sometest stuff.
Better names and ask for readonly if provider is created by JVM facotry.
Implement JUnit rule.