add test ensuring theano_function fails on bad input