Feature/tests rev1

Protractor tests for providers.
Minor bug fix for creating providers.