more error testing