Added custom error types
Test new error types