Test more error conditions