added tests that should produce errors