Adding tests for errors
changelog