adding negative tests and error expectations