checks if testitems colleciton exists before dropping null object