Add some tests and fix issue in info_holder.