added testing to the errors package