Error types, removed not needed tests