Added tests for custom missing errors