Added tests for scan_model