add some basic tests for the analyzer