test: add test to try to invoke errors during prepare/bind/execute