add more exception tests