enhanced debugging messages
treat hits as set
introducing and fixing test cases