adding more tests about Error