host resource end to end test and fix