Added test for Scan operation.