standardize numpy import in test_theanocode