fixed testing errors
fixed testing errors