Fix non-contiguous reshape
Some test fixes for Beignet