Fixes #4960: Adds unit test for class scanner
Make tests align with token_get_all's real abilities
Merge pull request #518 from mrclay/scanner-tests

Adds unit test for class scanner