Feature/tests rev1

Protractor tests for providers.
Minor bug fix for creating providers.
what are these vars for? they are unused FWICT.