removes unnecessary test dictionary