added tests for base errors