Add basic tests for scanner class