Feature/tests rev1

Protractor tests for providers.
Minor bug fix for creating providers.
doesnt need to be here, was just an example test.