added tests for hosting