added more error tests
tiny mod to error production