add tests for invalid operations

actually, scratch that, keep it as one test, but rename to `test_errors_on_non_existent_table`