SyntaxProcessor: add some more tests, and fix another brown paper bag bug

The test for non objects was done within the cache-called function. Yeah, right.

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>