add test cases and fix bug around :chef_solo_host_attributes