Add unit tests for execution functions of prepared statement implementation