add tests for the providers factory create

the test covers empty default provider
add test for empty /public directory when reading allowed directories