test more error handling