Added test cases for y and xy scans (prelim version)