added test case for ascontiguous bug
added test to CMakeList