add host meta test and other improvements