Feature/tests rev1

Protractor tests for providers.
Minor bug fix for creating providers.
not really sure why all this is here.. deleting.