Types of errors in tests