working through testing errors