write tiny tests for errors package