add a spec to see how custom errors actually work