fixed test, added mock for host provider