Feature/tests rev1

Protractor tests for providers.
Minor bug fix for creating providers.
IMHO, this change would've warranted further debate.