working on tests for scan

also started test utilities library