changed typos with hash keys so they are now 1.8 compatible, fixed bad test dealing with dropping invalid fields